package com.dz.lm.service.userorderlog;

import com.dz.lm.common.dto.UserOrderLogDTO;
import com.dz.lm.common.exception.ServiceException;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)

public interface UserOrderLogService {
    int add( String orderId ,int applyId ,String status , int userId)throws ServiceException;

    List<UserOrderLogDTO> query(String orderId) throws ServiceException;
}
